<form action="options.php" method="post">
	<?php wp_nonce_field('update-options'); ?>
	
	<!-- begin slider table -->
	<table cellspacing="0" class="widefat" style="margin-bottom:0;">
		<thead>
			<tr>
				<th>
				
					<div style="display:table; float:right; margin-right:10px;">
						<a class="set_remove" href=""><img src="<?php echo bloginfo('template_url'); ?>/images/admin/remove.png" alt="" /></a>
					</div>
				
				</th>
			</tr>
		</thead>

		<tbody>
			
			<tr class='pad alternate'>
				<td>
					<h2>General Slider settings</h2>
				</td>
			</tr>
	
			<tr class='pad'>
				<td>
					<div style="padding-right:20px;">
					
					<div class="short_title_div">Auto play ( on/off )</div>

					<div>					
					<select style="width: 70px;" name="3d_slider_auto_play" class="3d_slider_auto_play">
						<?php if(get_option('3d_slider_auto_play', 'on') == "on"){ ?>
							<option>on</option>
							<option>off</option>
						<?php } else { ?>
							<option>off</option>
							<option>on</option>
						<?php } ?>
					</select>
					</div>
					
					</div>
					
					<div id="3d_slider_speed" style="margin-right:20px;	<?php if(get_option('3d_slider_auto_play', 'on') == "off"){ echo "display:none;"; }?>">
					
					<div class="short_title_div">Auto Play Delay</div>
					<div>
						<input type="text" name="3d_slider_speed" class="" tabindex="1" size="5" value="<?php echo get_option('3d_slider_speed', '5'); ?>"/><span class="tablespan">second</span>
					</div>
					
					</div>
	
				</td>
			</tr>
			
			
			<tr class='pad alternate'>
				<td>
					<h2>Slider skins width & height settings</h2>
				</td>
			</tr>
			
			<tr class='pad'>
				<td>
					<div class="short_title_div">
						<img src="<?php bloginfo('template_url'); ?>/images/admin/skin_width.png" alt=""/>
					</div>
					<div>
					<input type="text" name="3d_slider_width" tabindex="1" size="10" value="<?php echo get_option('3d_slider_width', '900'); ?>" />px
					</div>
				</td>
			</tr>		
				
				
			<tr class='pad'>
				<td>
					<div class="short_title_div">
						<img src="<?php bloginfo('template_url'); ?>/images/admin/skin_height.png" alt=""/>
					</div>
					<div>
						<input type="text" name="3d_slider_height" tabindex="1" size="10" value="<?php echo get_option('3d_slider_height', '350'); ?>" />px
					</div>
				</td>
			</tr>			
							
		
		</tbody>
			
		<!-- begin add item button -->
		<tfoot>
			<tr>
				<th>
					<div style="display:table; float:left;">
						<div style="float:left;">
							<input type="image" name="settings" value=" " style="background:none; background:url(<?php echo bloginfo('template_url'); ?>/images/admin/save.png); border:0; cursor:pointer; width:32px; height:31px; display:table;"/>
						</div>
						<div class="savecss">
							<input type="hidden" name="action" value="update" />
							<input type="hidden" name="page_options" value="3d_slider_speed, 3d_slider_height, 3d_slider_width, 3d_slider_auto_play" />
							<input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" value="SAVE"/>
						</div>
					</div>
				</th>
			</tr>
		</tfoot>
		<!-- end add item button -->

	</table>
	<!-- end slider table -->

</form>